import sys,os
from cx_Freeze import setup, Executable

# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages = [], excludes = ['email','imageformats','json','logging','unittest','xml','QtDesigner','QtNetwork'],
    path=sys.path+[os.getcwd(),os.getcwd()+'\build\exe.win32-3.5',os.getcwd()+'\build'],
    )

import sys
base = 'Win32GUI' if sys.platform=='win32' else None

executables = [
    Executable('ComicCave.py', base=base, targetName = 'comic.exe')
]

setup(name='comic',
      version = '1.0',
      description = 'test_error',
      options = dict(build_exe = buildOptions),
      executables = executables)
